<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="https://cdn.jsdelivr.net/npm/vue"></script>
</head>
<body>
    <div id="app">
        <div>
                <input type="text" v-model="content">
                <input type="checkbox" v-model="checkedbox">多选
        </div>
        <div>
                <input type="checkbox" v-model="checkedbox2" value="footboll" />足球
                <input type="checkbox" v-model="checkedbox2" value="basketboll" />篮球
                <input type="checkbox" v-model="checkedbox2" value="vallkeboll" />排球
        </div>
       <div>
            <input type="radio" v-model="checkedbox3" value="male" />男
            <input type="radio" v-model="checkedbox3" value="female" />女
       </div>
       <div>
           <select v-model="selected">
               <option value="chongqing">重庆</option>
               <option value="beijing">北京</option>
               <option value="shanghai">上海</option>
           </select>
           <select v-model="selected2">
                <option v-for="item in citys" :value="item.spell">{{item.name}}</option>
           </select>
       </div>
    </div>
    <script>
        var app = new Vue({
            el:"#app",
            data:{
                content:'',
                checkedbox:true,
                checkedbox2:[],
                checkedbox3:"",
                selected:"",
                selected2:"",
                citys:[{spell:'chongqing',name:"重庆"},
                {spell:'beijing',name:"北京"},
                {spell:'shanghai',name:"上海"}
                ]
            }
        })
    </script>
</body>
</html>
